﻿using System;
using System.Composition;
using Unread.App.Common;

namespace Unread.App.ViewModels
{
    [Export]
    public class ItemViewModel : BindableBase
    {
        private Guid _feedItemId;
        public Guid FeedItemId
        {
            get { return _feedItemId; }
            set { SetProperty(ref _feedItemId, value); }
        }

        private string _title;
        public string Title 
        { 
            get { return _title; } 
            set { SetProperty(ref _title, value); } 
        }

        private string _subtitle;
        public string Subtitle 
        { 
            get { return _subtitle; } 
            set { SetProperty(ref _subtitle, value); } 
        }

        private string _content;
        public string Content 
        { 
            get { return _content; } 
            set { SetProperty(ref _content, value); } 
        }

        private Uri _link;
        public Uri Link 
        {
            get { return _link; }
            set { SetProperty(ref _link, value); }
        }
    }
}